package com.ruoyi.easyfame.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 tb_orderform
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbOrderform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID，主键自增 */
    private Long id;

    /** 卖家用户ID */
    @Excel(name = "卖家用户ID")
    private Long sellerId;

    /** 买家用户ID */
    @Excel(name = "买家用户ID")
    private Long buyerId;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private BigDecimal moneyCount;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSellerId(Long sellerId) 
    {
        this.sellerId = sellerId;
    }

    public Long getSellerId() 
    {
        return sellerId;
    }

    public void setBuyerId(Long buyerId) 
    {
        this.buyerId = buyerId;
    }

    public Long getBuyerId() 
    {
        return buyerId;
    }

    public void setMoneyCount(BigDecimal moneyCount) 
    {
        this.moneyCount = moneyCount;
    }

    public BigDecimal getMoneyCount() 
    {
        return moneyCount;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sellerId", getSellerId())
            .append("buyerId", getBuyerId())
            .append("moneyCount", getMoneyCount())
            .append("address", getAddress())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
